package cn.slipi.facade.api.message;

import cn.slipi.facade.api.message.form.MessageForm;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@RequestMapping("/message")
public interface MessageFacade {
    @RequestMapping("/prepare")
    void prepareMessage(@RequestBody MessageForm messageForm);

    @RequestMapping("/confirm")
    void confirmMessage(@RequestParam("objId") String objId);

    @RequestMapping("/complete")
    void completeMessage(@RequestParam("objId") String objId);
}
